﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Microsoft.EntityFrameworkCore;

namespace UtilsORM.MySqlData;

[Index("rp_add_time", Name = "RP_AddTime")]
[Index("rp_com_guid", Name = "RP_Com_Guid")]
[Index("rp_dep_guid", Name = "RP_Dep_Guid")]
[Index("rp_cu_guid", Name = "RP_Emp_Guid")]
[Index("rp_guid", Name = "RP_Guid")]
[Index("rp_project_guid", Name = "RP_Project_Guid")]
[MySqlCharSet("utf8mb3")]
[MySqlCollation("utf8mb3_general_ci")]
public partial class bs_manage_role_power
{
    [Key]
    public long rp_id { get; set; }

    public Guid rp_guid { get; set; }

    public Guid rp_cu_guid { get; set; }

    public Guid rp_com_guid { get; set; }

    public Guid rp_project_guid { get; set; }

    public Guid rp_dep_guid { get; set; }

    public Guid rp_add_cu_guid { get; set; }

    [Column(TypeName = "datetime")]
    public DateTime rp_add_time { get; set; }
}
